package com.mes.cloud.api.dto.request;

import java.io.Serializable;
import java.util.Date;
import lombok.Data;
import io.swagger.annotations.ApiModelProperty;
import org.hibernate.validator.constraints.NotEmpty;

import javax.persistence.*;
import javax.validation.constraints.NotNull;

/**
 * 全局日志配置表
 * 
 * @author xy
 * @version 2019-11-13 09:53:12
 * @email yuan.xue3@pactera.com
 */
@Data
public class SysGlobalLogConfigurePageListRequest implements Serializable{
    private static final long serialVersionUID=1L;

    @ApiModelProperty(value = "当前页", required = true)
    private int currentPage;

    @ApiModelProperty(value = "每页条数", required = true)
    private int pageSize;

    @ApiModelProperty(value = "排序", required = false)
    private String orderBy;

    @ApiModelProperty(value = "主键", required = false)
    private String id;

    @ApiModelProperty(value = "请求url", required = false)
    private String requestUrl;

    @ApiModelProperty(value = "上级id", required = false)
    private String parentId;

    @ApiModelProperty(value = "操作类型(1.新增,2.删除,3.修改)", required = false)
    private String operationType;

    @ApiModelProperty(value = "操作等级(1.一般 2.重要)", required = false)
    private String operationLevel;

    @ApiModelProperty(value = "查询请求url", required = false)
    @NotEmpty(message = "queryRequestUrl不能为空")
    private String queryRequestUrl;
}
